625f722980f6eb48f6eda0cd1d172a833890140a,portal-impl/src/com/liferay/portal/dao/orm/hibernate/FinderCacheImpl.java,FinderCacheImpl,getResult,#FinderPath#Object[]#SessionFactory#,96

Before Change


			return null;
		}

		Map<String, Object> localCache = _localCache.get();

		String localCacheKey = _encodeLocalCacheKey(
			finderPath.getClassName(), finderPath.getMethodName(),
			finderPath.getParams(), args);

		Object primaryKey = localCache.get(localCacheKey);

		if (primaryKey == null) {
			PortalCache portalCache = _getPortalCache(

After Change



		String localCacheKey = null;

		if (_localCacheEnabled) {
			localCache = _localCache.get();

			localCacheKey = _encodeLocalCacheKey(
				finderPath.getClassName(), finderPath.getMethodName(),
				finderPath.getParams(), args);

			primaryKey = localCache.get(localCacheKey);
		}

		if (primaryKey == null) {